<div class="content-left mar-top-10">
		<div class="group2">
	        <div class="sub-left">
		        <div class="bag-title-green sub-catgory">
			        <img src="<?php echo $this->imgUrl;?>/icon/icon-service.png" alt=""  />
			        <p>Dịch vụ</p>
		        </div>
	        </div>
	<?php                    	
	    if(!empty($this->Items)){	    	
		    foreach ($this->Items as $key=>$val){
		    	$cutTring 	= new Zendvn_File_CutTring();
			    $name 		= $val['name'];
			    $name 		= $cutTring->cutTring(30, $name, null);
			    $summary 	= $val['summary'];
			    $summary 	= str_replace("\\"," ",$summary);
				$summary 	= $cutTring->cutTring(110,$summary,null);
			    if(!empty($val['picture'])){
				    $linkImg	= FILES_URL . '/services/images450x450/' . $val['picture'];
				    $picture 	= '<img src="'. $linkImg .'" alt="'.$val['name'].'" />';
			    }else{
				    $linkImg	= FILES_URL . '/services/images450x450/no-image.jpg';
				    $picture 	= '<img src="'. $linkImg .'" alt="'.$val['name'].'" />';
			    }
		    	$lang = $this->arrParam['lang'];
                if(empty($lang)){
                    $lang = 'vi';
                }else{
                    $lang = $this->arrParam['lang'];
                }
				$urlOptions = array('module'=>'services','controller'=>'index',
									'action'=>'detail',
									'nname'=>$val['alias_name'],
									'title'=>$val['alias'],
                    				'cid'=> $val['cat_id'],
									'id'=>$val['id'],
                    				'lang'=>$lang);
	            $linkDetail = $this->url($urlOptions,'service-detail');
				
				$clsCol = 'col-1';
				if(($key+1)%3 == 0){
					$clsCol = 'col-3';
				}
    ?>    				
                        
                        <div class="box-cnt <?php echo $clsCol?> width-32 mar-top-20">
                            <div class="cnt border-1 bag-white">
                                <div class="bor-img">
                                    <a title="<?php echo $val['name']?>" href="<?php echo $linkDetail?>"><?php echo $picture ;?></a>
                                    <div class="clr"></div>
                                </div>
                                <div class="desc">
                                    <h2 class="title"><a title="<?php echo $val['name']?>" href="<?php echo $linkDetail?>"><?php echo $name?></a></h2>
                                    <p><?php echo $summary?></p>
                                </div>
                                <a title="<?php echo $val['name']?>" href="<?php echo $linkDetail?>" class="link-readmore"><span>Chi tiết...</span></a>
                            </div>
                        </div>
	<?php 
	  		}
	    }else{
	    	echo '<div class="note-pro mar-top-10">Hiện tại sản phẩm đang được cập nhật....</div>';
	    }
		echo '</div>';
	?>
</div>
<!--------------------CURENT-PAGE (Start) -------------------->
<div class="cur-page mar-top-10">
<?php
	$paginator = $this->arrParam['paginator'];
	$itemCountPerPage = $paginator['itemCountPerPage'];
	if($this->total > $itemCountPerPage){
		$currentUrl = $this->baseUrl($this->currentController . '/index');
		echo $this->paginationControl($this->panigator,'Sliding','curentpage.phtml',array('currentUrl'=>$currentUrl,'arrParam'=>$this->arrParam));
	}
?>
</div>
<!--------------------CURENT-PAGE (End) ---------------------->